neighbor prefix-list name
This command specifies a prefix-list for the peer.
Syntax
neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} prefix-list name {in|out}
Command |
Description |
---|---|
a.b.c.d|X:X::X:X |
Defines the IP address of the neighbor (IPv4 or IPv6). |
neighbor tag |
Defines the neighbor tag. |
in |
Filters incoming updates. |
out |
Filters outgoing updates. |
name |
Defines the name of the prefix list in string format. |
Default
NA
Command Mode
Privileged User
Example
This example specifies a prefix-list for the peer.
(config-data)# router bgp 1 (conf-router)# neighbor 10.15.5.110 prefix-list plist in